import moment from 'moment';

export const formatHourAndMin = function(time, norms = 'HH:mm') {
  return moment(time).format(norms) || '';
};
